import request from "../util/request";

export const login = (data) => {
  return request({
    url: '/system/login',
    method: 'POST',
    data
  })
}

export const logout = (data) => {
  return request({
    url: '/system/logout',
    method: 'POST',
    data
  })
}